import Axios from '../util/axios_base';

export default {
  getData1() {
    return Axios.post('api/v1/login', {
      password: '111111',
      email: '376195259@qq.com',
    });
  },
  getData(cb) {
    Axios.post('api/v1/login', {
      password: '111111',
      email: '376195259@qq.com',
    })
      .then((res) => {
        // eslint-disable-next-line
        console.log('res=', res);
        cb(res);
      })
      .catch((error) => {
        cb(error);
        // console.log(error);
      });
  },
};
